package me.landery.modules.sinco.repository;

import me.landery.modules.sinco.domain.ProfitConfig;
import me.landery.modules.sinco.domain.em.ProfitType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @website https://el-admin.vip
 * @author landery
 * @date 2022-06-24
 **/
public interface ProfitConfigRepository extends JpaRepository<ProfitConfig, Long>, JpaSpecificationExecutor<ProfitConfig> {
    ProfitConfig findByProfitType(Integer type);
}